package com.huanying.goodjob.job;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.huanying.framework.PageBean;
import com.huanying.goodjob.skill.Skill;

/**
 * <p>
 * </p>
 * 
 * @author Alan Yu
 * @date 2016年12月16日
 */
public interface JobService {

	public void add_job(Job job) throws Exception;

	public void update_job(Job job) throws Exception;

	public void dalete_job(Job job) throws Exception;

	public Job getbyId_job(int id) throws Exception;

	public List<Job> getbyuserId_job(int id) throws Exception;

	public void update_jobitem(Jobitem jobitem) throws Exception;

	public void delete_jobitem(Jobitem jobitem) throws Exception;
	
	public void delete(int jobitem_id) throws Exception;
	
	public Jobitem_Skill getbyId_jobitem_skill(int id) throws Exception;

	public Jobitem getbyId_jobitem(int id) throws Exception;

	public PageBean searchJobs(Map<String, String> map, int pageSize, int page) throws Exception;

	public List<Object> searchJobs(Map<String, String> map) throws Exception;

	public int add_jobitem(Jobitem jobitem) throws Exception;

	public void add_skills(int jobitem_id, String[] skillid_array) throws Exception;

	public Jobitem_User getbyId_jobitem_user(int id) throws Exception;

	public PageBean searchJobitems(Map<String, String> map, int pageSize, int page) throws Exception;

	public List<Object> searchJobitems(Map<String, String> map) throws Exception;

	public PageBean searchJobitems_index(Map<String, String> map, int pageSize, int page) throws Exception;

	public void add_jobitem_user(Jobitem_User jobitem_user) throws Exception;

	public void update_jobitem_user(Jobitem_User jobitem_user) throws Exception;

	public void delete_jobitem_user(Jobitem_User jobitem_user) throws Exception;

	public List<Jobitem_User> getbyjobitem_id_jobitem_user(int id) throws Exception;

	public PageBean searchJobitem_Users(Map<String, String> map, int pageSize, int page) throws Exception;

	public List<Object> searchJobitem_Users(Map<String, String> map) throws Exception;

	public List<Object> searchJobitem_Users_his(Map<String, String> map) throws Exception;

	public Set<Skill> getbyjobitem_id_skill(int jobitem_id) throws Exception;

	public void add_rework(Rework rework) throws Exception;

	public void update_rework(Rework rework) throws Exception;

	public void dalete_rework(Rework rework) throws Exception;

	public Rework getbyId_rework(int id) throws Exception;

	public void add_jobitemstatus_change(Jobitemstatus_Change jobitemstatus_change) throws Exception;

	public void update_jobitemstatus_change(Jobitemstatus_Change jobitemstatus_change) throws Exception;

	public void dalete_jobitemstatus_change(Jobitemstatus_Change jobitemstatus_change) throws Exception;

	public Jobitemstatus_Change getbyId_jobitemstatus_change(int id) throws Exception;

	public PageBean searchJobitemstatus_change(Map<String, String> map, int pageSize, int page) throws Exception;

	public List<Object> searchJobitemstatus_change(Map<String, String> map) throws Exception;

}
